feat(Analysis/ODE): add discrete Grönwall inequality#34709
feat(Analysis/ODE): add discrete Grönwall inequality#34709dennj wants to merge 1 commit intoleanprover-community:masterfrom
Conversation
PR summary 977f84bd6eImport changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
Hello from triage! My impression is that this PR was generated with substantial help from LLM. Can you comment on this, please? Per our AI policy, also mention this in the PR description. |
j-loreaux
left a comment
There was a problem hiding this comment.
Long story short: grind is your friend.
Can you please answer the question about whether this PR is generated or assisted by AI?
|
This pull request has conflicts, please merge |
|
Are you familiar with the I'm not a Mathlib reviewer or maintainer, so I don't speak for the project, but I thought I'd mention it as a potentially interesting place for work like this (independently of how this PR is evaluated here). |
5439f72 to
1015cc2
Compare
1015cc2 to
099dcf6
Compare
|
-awaiting-author I applied the suggestions in the comments and did some golfing |
Summary
Add discrete Grönwall inequality to
Mathlib/Analysis/ODE/DiscreteGronwall.leanProvides bounds for recurrence inequalities of the form
u(n+1) ≤ c(n) * u(n) + b(n)Main results
discrete_gronwall_prod_general: Product form working over any linearly ordered commutative ringprod_one_add_Ico_mono: Auxiliary lemma for product comparisons over subintervalsdiscrete_gronwall: Classical exponential boundu(n) ≤ (u(n₀) + ∑ b(k)) * exp(∑ c(i))(ℝ-specific)discrete_gronwall_Ico: Uniform bound over a finite interval (ℝ-specific)Related work
Complements the continuous Grönwall inequality in
Mathlib.Analysis.ODE.GronwallReferences
This is human-made PR with AI help in golfing proof and documenting the code.